<?php

namespace app\shop\model;


use app\common\model\BaseModel;
class ShopStoreGoodsCate extends BaseModel
{
    public function son(){
        return $this->hasMany(get_class($this),'pid');
    }
    protected function getImgAttr($val){
      return $this->getImgUrl($val);
    }

}
